package com.it.myd.module.main.gameInfo.service;

import com.it.myd.dao.main.gameInfo.GameInfoDao;
import com.it.myd.module.main.gameInfo.bean.Game;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GameInfoServiceImpl implements GameInfoService{

    @Autowired
    private GameInfoDao gameInfoDao;

    @Override
    public List<Game> getGameInfo(){
        return gameInfoDao.selectGameList();
    }

}
